package com.tedu.dao.mapper;

import com.tedu.pojo.entity.Trip;
import com.tedu.pojo.param.TripParam;
import com.tedu.pojo.vo.TripVo;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface TripMapper {
    void addTrip(Trip trip);
    int deleteTrip(int id);
    List<TripVo> selectTrip(int id);
    List<TripVo> selectTripAll();
    int modifyTrip(Trip trip);

}
